From: Yann Gautier Date: Thu, 13 Dec 2018 14:01:53 +0000 (+0100) Subject: stm32mp1: remove useless compilation flags X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=941ba0439607b53685dea1a1359ded2f49f3e1a0;p=project%2Fbcm63xx%2Fatf.git stm32mp1: remove useless compilation flags On AARCH32, thumb is used by default, no need to redefine it. As all our binaries are compiled with thumb, interwork is not needed. The binaries compiled with or without those flags are the same, except of course for the date. Signed-off-by: Yann Gautier --- diff --git a/plat/st/stm32mp1/platform.mk b/plat/st/stm32mp1/platform.mk index 545b140d..8890e822 100644 --- a/plat/st/stm32mp1/platform.mk +++ b/plat/st/stm32mp1/platform.mk @@ -83,10 +83,6 @@ BL2_SOURCES += common/desc_image_load.c \ plat/st/stm32mp1/plat_bl2_mem_params_desc.c \ plat/st/stm32mp1/plat_image_load.c -# For memory footprint optimization, build with thumb and interwork support -ASFLAGS += -mthumb -mthumb-interwork -TF_CFLAGS += -mthumb -mthumb-interwork - # Macros and rules to build TF binary STM32_TF_ELF_LDFLAGS := --hash-style=gnu --as-needed STM32_DT_BASENAME := $(STM32_DTB_FILE_NAME:.dtb=)